import request from '@/utils/request'

// 查询项目投资情况的列表
export function listProjectInvestmentSituation(query) {
  return request({
    url: '/deal/projectInvestmentSituation/list',
    method: 'get',
    params: query
  })
}

// 查询基金投资组合的列表
export function listFundInvestmentSituation(query) {
  return request({
    url: '/deal/projectInvestmentSituation/fundList',
    method: 'get',
    params: query
  })
}

// 查询项目投资情况的列表根据状态
export function listProjectInvestmentSituationByStatus(query) {
  return request({
    url: '/deal/projectInvestmentSituation/findListByStatus',
    method: 'get',
    params: query
  })
}

// 查询基金投资组合
export function queryFundPortfolio(query) {
  return request({
    url: '/deal/projectInvestmentSituation/queryFundPortfolio',
    method: 'get',
    params: query
  })
}

// 查询基金投资组合合计
export function getFundPortfolioSum(query) {
  return request({
    url: '/deal/projectInvestmentSituation/queryFundPortfolio/getSum',
    method: 'get',
    params: query
  })
}

// 查询基金投资组合中的自管基金
export function queryFundPortfolioFund(query) {
  return request({
    url: '/deal/projectInvestmentSituation/queryFundPortfolioFund',
    method: 'get',
    params: query
  })
}

// 查询基金投资组合中的自管基金合计
export function getFundPortfolioFundSum(query) {
  return request({
    url: '/deal/projectInvestmentSituation/queryFundPortfolioFund/getSum',
    method: 'get',
    params: query
  })
}
